#include <QCoreApplication>
#include <QTimer>

#include "DmxClient.h"

int main(int argc, char *argv[])
{
	QCoreApplication app(argc,argv);
	
	DmxClient dmx;
	dmx.start();
	
	qDebug() << "Started DMX Client.";
	
	
	
	//qDebug() << "Sent test packet";
	
	//QObject::connect(&dmx, SIGNAL(socketDisconnected()), qApp, SLOT(quit()));
	QTimer::singleShot(1000, qApp, SLOT(quit()));
	
	return app.exec();
	//return 0;
}
